# coding=utf-8
#所有环境都有的配置
SERVER_PORT = 9999
SERVER_HOST = "0.0.0.0"

DEBUG = False
#是否打印SQL语句
SQLALCHEMY_ECHO = True

AUTH_COOKIE_NAME="FOOD"

#过滤URL
IGNORE_URLS = [
]

#完全过滤，页面资源
IGNORE_CHECK_LOGIN_URLS = [
    "^/api/static/upload",
]
#接口api
API_IGNORE_URLS = [
    "^/api/customer/login",
    "^/api/food/discount",
    "^/api/food/recommend",
]

UPLOAD = {
    'ext':[ 'jpg','gif','bmp','jpeg','png' ],
    'prefix_path':'/static/upload/',
    'prefix_url':'/static/upload/'
}

MINA_APP = {
    'appid':'wxafb6c481ebfe0d78',
    'appkey':'00abf305eeef1b78783531163e95dae7',
}


